package Map;

import Object.Point;
import Object.Unit;

public class MapPoint {
	private Point Map[];
	private Unit unit;
	private int x;
	private int y;

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public MapPoint(int x) {
		Map = new Point[x];
	}
	public MapPoint(int x,int y){
		this.x=x;
		this.y=y;
	}
	
	public MapPoint(int x, Unit unit) {
		this.unit = unit;
		Map = new Point[x];
	}
	
	public Point[] getMap() {
		return Map;
	}
	
	public void setMap(Point point[]) {
		Map = point;
	}

}
